<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>

<%@ taglib prefix="s" uri="/struts-tags" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
    	<link rel="stylesheet" type="text/css" media="all" href="<s:url value='/css/main.css'/>" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Aplicação</title>
        <style type="text/css">
<!--
.style1 {font-size: 14px}
.style3 {font-size: 18px}
-->
        </style>
</head>
    <body>
    <div id="tudo">
<div id="conteudo">
<form action="AvaliacaoProfessor!execute.do" method="POST">
  <div align="center"><h1>Notas</h1></div>
  <table width="459" border="0" align="center" cellpadding="0" cellspacing="4">
	<tr>
	   <td colspan="2">
	         <s:actionerror />
	         <s:actionmessage/>
	         <s:fielderror />
	   </td> 
   </tr>    
    <tr>
   		<s:textfield name="nomeProfessor" size="40" maxlength="100" label="Professor" disabled="true"></s:textfield>
   		<s:hidden name="idProfessor"></s:hidden>
   		
   		<s:textfield name="codTurma" size="20" maxlength="100" label="Turma" disabled="true"></s:textfield>
   		<s:hidden name="idTurma"></s:hidden>   
		
		<s:textfield name="nomeTarefa" size="40" maxlength="100" label="Tarefa" disabled="true"></s:textfield>
   		<s:hidden name="idTarefa"></s:hidden>     
    </tr>
    <tr><td><p>&nbsp;</p></td></tr>
  	<s:if test="avaliadosDTO != null">
	    <tr>
	    	<td  colspan="3">
	    		<table border="0" align="center" cellpadding="4" cellspacing="4">
	    			<th>Nome</th>
	    			<th>Turma</th>
	    			<th>Professor</th>
	    			<th>Final</th>
	    			<s:iterator value="avaliadosDTO">
	    			<tr>
	    				<td><s:property value="postado.nomeArquivo"/></td>
	    				<td><s:property value="notaTurma"/></td>
	    				<td><s:property value="notaProfessor"/></td>
	    				<td><s:property value="notaFinal"/></td>   
	    			</tr> 				
	    			</s:iterator>
	    		</table>
	    	</td>
	    
    </s:if>

	<tr><td><p>&nbsp;</p></td></tr>
	<tr>
		<td colspan="5" rowspan="2" valign="bottom" align="center"> 
        	<input type="submit" name="menu" id="menu" value="  Menu  " />
      	</td>
    </tr>
    
  </table>
  <p>&nbsp;</p>
</form>
</div>
</div>
</body>
</html>
